/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.mleiria.app.web.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author manuel
 */
@ManagedBean(name = "dashboardBean")
@SessionScoped
public class DashboardBean extends MasterBean{
    
    private String motherImage = "motherImage.gif";
    private String motherRequest = "";
    private String motherResponse = "";
    
    
    public void callMother(){
        
       motherResponse = getMotherVoiceEjb().callMother(motherRequest);
    }
    
    

    public String getMotherImage() {
        return motherImage;
    }

    public void setMotherImage(String motherImage) {
        this.motherImage = motherImage;
    }

    public String getMotherRequest() {
        return motherRequest;
    }

    public void setMotherRequest(String motherRequest) {
        this.motherRequest = motherRequest;
    }

    public String getMotherResponse() {
        return motherResponse;
    }

    public void setMotherResponse(String motherResponse) {
        this.motherResponse = motherResponse;
    }
    
    
    
    
    
}
